﻿#ifndef __ASSIST_CROSS_H_TIP__
#define __ASSIST_CROSS_H_TIP__

#include "qcustomplot.h"
#include <QWidget>
#include <QPixmap>

class AssistCrossTipWidget
    : public QWidget
{
public:
    AssistCrossTipWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());

    void SetPixmap(QPixmap pixmap);
protected:
    virtual void paintEvent(QPaintEvent *event);

    QPixmap pixmap_;
};

#endif//__ASSIST_CROSS_H__
